package com.peas.platform.module.icims.contract.initial.domain.impl;

import com.peas.platform.framework.mybatisplus.domain.BaseDomainImpl;
import com.peas.platform.framework.mybatisplus.repository.BaseRepository;
import com.peas.platform.module.icims.contract.initial.adapter.repository.ContractInitialCheckingAttachmentRepository;
import com.peas.platform.module.icims.contract.initial.adapter.repository.po.ContractInitialCheckingAttachmentPo;
import com.peas.platform.module.icims.contract.initial.domain.ContractInitialCheckingAttachmentDomain;
import com.peas.platform.module.icims.contract.initial.dto.ContractInitialCheckingAttachmentDto;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class ContractInitialCheckingAttachmentDomainImpl extends BaseDomainImpl<ContractInitialCheckingAttachmentDto, ContractInitialCheckingAttachmentPo> implements ContractInitialCheckingAttachmentDomain {

    @Resource
    private ContractInitialCheckingAttachmentRepository contractInitialCheckingAttachmentRepository;

    @Override
    public BaseRepository<ContractInitialCheckingAttachmentPo> getMapper() {
        return contractInitialCheckingAttachmentRepository;
    }

    @Override
    public Class<? extends BaseRepository<ContractInitialCheckingAttachmentPo>> getRepositoryClass() {
        return ContractInitialCheckingAttachmentRepository.class;
    }

}
